package cn.tedu.lucky.draw.server.job.processor;

import cn.tedu.lucky.draw.server.protocol.po.Activity;
import org.springframework.batch.item.ItemProcessor;

public class ActivityProcessor implements ItemProcessor<Activity, Activity> {
    @Override
    public Activity process(Activity activity) throws Exception {
        activity.setStatus(3);
        return activity;
    }
}
